<!DOCTYPE html>
<html  lang="en">
<head>
    <meta charset="utf-8">
    <title>产品</title>
    <script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
</head>
<body>
<div id = "app"  style="display: flex">
    <div>
        <p style = "font-size:25px;">参数配置: </p>
        <div style="display: flex">
            <p>公司代码: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>公司名称: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>起始配号: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>截止配号: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>配号总数: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>中签总数: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex">
            <p>中签率为: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <button onclick="click()" style="margin-top: 50px;margin-left: 50px">进行配置</button>
    </div>
    <div style="width: 300px">

    </div>
    <div>
        <p style = "font-size:25px;">摇号输入: </p>
        <div style="display: flex">
            <p>N为: </p>
            <input v-model="message1" placeholder="请输入……">
        </div>
        <div style="display: flex;margin-top: 50px">
            <p>末N位数为  : </p>
            <input v-model="message1" placeholder="请输入……">
            <button onclick="click()" style="margin-left: 20px">计算</button>
        </div>
        <div style="display: flex">
            <p>末N+1位数: </p>
            <input v-model="message1" placeholder="请输入……">
            <button onclick="click()" style="margin-left: 20px">计算</button>
        </div>
        <div style="display: flex">
            <p>末N+2位数: </p>
            <input v-model="message1" placeholder="请输入……">
            <button onclick="click()" style="margin-left: 20px">计算</button>
        </div>
        <div style="display: flex">
            <p>末N+3位数: </p>
            <input v-model="message1" placeholder="请输入……">
            <button onclick="click()" style="margin-left: 20px">计算</button>
        </div>
        <div style="display: flex">
            <p>末N+4位数: </p>
            <input v-model="message1" placeholder="请输入……">
            <button onclick="click()" style="margin-left: 20px">计算</button>
        </div>
    </div>

    <form action="/logout" method="post">
        <input type="submit" value="点击退出">
    </form>
</div>
<script type = "text/javascript">
    function click() {

    }
    var vm = new Vue({
        el: '#app',
        data: {
            message1: null,
            message2: null
        }
    });
    vm.$watch('counter', function(nval, oval) {
        alert('计数器值的变化 :' + oval + ' 变为 ' + nval + '!');
    });
</script>

</body>
</html>